<?php
/************************************************************************/
/*    Pc-Nuke! Systems -  Advanced Content Management System            */
/************************************************************************/
/*    Created by PcNuke.com -- Released: 2005                           */
/*    http://www.max.pcnuke.com  --  http://www.pcnuke.com              */
/*    All Rights Reserved 2005 -- by Pc-Nuke!                           */
/*    No Modding, Porting, Changing, or Distribution of this program    */
/*    is allowed without written permission from www.pcnuke.com         */
/************************************************************************/
/************************************************************************/
/*          The Power of the Nuke - Without the Radiation!              */
/*   File was downloaded from: www.pcnuke.com  -  www.max.pcnuke.com    */
/************************************************************************/
/************************************************************************/

if (!eregi("admin.php", $_SERVER['SCRIPT_NAME'])) { die ("Access Denied"); }

// Restrict Access to Codepage Functionality
$result = $db->sql_query("select radminsuper from ".$prefix."_authors where aid='$aid'");
list($radminsuper) = $db->sql_fetchrow($result);
$schedinfo = "Coppermine Administration";
if ($radminsuper) {

// ######################################################################
// Coppermine Administrative Section
// ######################################################################
function coppermine() {
    global $db, $prefix;
    include ("header.php");
    title("60 Saniye Fotoğraf Albüm Yönetim Menüsü");

OpenTable();
echo "<center>";
echo "<br>";
echo  "<h3>Online Fotoğraf Albümü Yönetimi</h3>";
echo "<hr width=\"75%\">";
echo "<br>";
echo "<table cellpadding=\"0\" cellspacing=\"1\">
     <tr valign=\"middle\" align=\"center\">
          <td class=\"admin_menu\">
		  <a href=\"modules.php?name=coppermine\">Yönetim</a> :: 
		  <a href=\"modules.php?name=coppermine&file=config\">Seçenekler</a> :: 
		  <a href=\"modules.php?name=coppermine&file=groupmgr\">Gruplar</a> :: 
          <a href=\"modules.php?name=coppermine&file=usermgr\">Kullanıcılar</a> :: 
          <a href=\"modules.php?name=coppermine&file=albmgr$cat_l\">Albümler</a> :: 
		  <a href=\"modules.php?name=coppermine&file=editpics&mode=upload_approval\">Resim Yükleme İzni</a> :: 
          <a href=\"modules.php?name=coppermine&file=searchnew\">Küme Resimleri Yükle</a> :: 
          <a href=\"modules.php?name=coppermine&file=reviewcom\">Yorumlar/İncelemeler İzni</a> :: 
          <a href=\"modules.php?name=coppermine&file=catmgr\">Karegoriler</a>
          
          </td>
     </tr>
</table>";

echo "<br>";
echo "<br>&nbsp;<img src='modules/coppermine/images/cpg.gif' border='0'>";
echo "</center>";
CloseTable();





  echo "<script type=\"text/javascript\">\n";
  echo "<!--\n";
  echo "function nsnnewindow(){\n";
  echo "  window.open (\"modules/coppermine/copyright.php\",\"Copyright\",\"toolbar=no,location=no,directories=no,status=no,scrollbars=yes,resizable=no,copyhistory=no,height=200,width=400\");\n";
  echo "}\n";
  echo "//-->\n";
  echo "</SCRIPT>\n\n";
  echo "<div align=\"right\"><a href=\"javascript:nsnnewindow()\">coppermine &copy;</a></div>";
  include ("footer.php");
  
}
// ######################################################################
// SWITCHBOARD
// ######################################################################
switch ($op){
    case "coppermine": coppermine(); break;
}
} else {
    echo "Access Denied";
}
?>
